package com.sun.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author SunRui
 * @description TODO
 * @date 2024/9/22 17:29
 */
public class T_users implements Serializable {

    @Serial
    private static final long serialVersionUID = -6106765715905539315L;
    private int id;
    private String name;
    private Integer age;
    private Date bir;
    private String cardId;

    private T_card tCard;

    @Override
    public String toString() {
        return "T_users{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", bir=" + bir +
                ", cardId='" + cardId + '\'' +
                ", tCard=" + tCard +
                '}';
    }

    public T_card gettCard() {
        return tCard;
    }

    public void settCard(T_card tCard) {
        this.tCard = tCard;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBir() {
        return bir;
    }

    public void setBir(Date bir) {
        this.bir = bir;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }
}
